// messageShowView.cpp : implementation file
//

#include "stdafx.h"
#include "myftpclient.h"
#include "messageShowView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// messageShowView

IMPLEMENT_DYNCREATE(messageShowView, CEditView)

messageShowView::messageShowView()
{
}

messageShowView::~messageShowView()
{
}


BEGIN_MESSAGE_MAP(messageShowView, CEditView)
	//{{AFX_MSG_MAP(messageShowView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// messageShowView drawing

void messageShowView::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	// TODO: add draw code here
}

/////////////////////////////////////////////////////////////////////////////
// messageShowView diagnostics

#ifdef _DEBUG
void messageShowView::AssertValid() const
{
	CEditView::AssertValid();
}

void messageShowView::Dump(CDumpContext& dc) const
{
	CEditView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// messageShowView message handlers

void messageShowView::OnInitialUpdate() 
{
	CEditView::OnInitialUpdate();
		CEdit &filelist=GetEditCtrl();
		filelist.EnableWindow(false);
	// TODO: Add your specialized code here and/or call the base class
	
}

void messageShowView::setMessage(CString str)
{
	CEdit &filelist=GetEditCtrl();
	filelist.SetWindowText(str);
}
